Skip to content

Conversation

Zippo-Wang
Copy link
Collaborator

@Zippo-Wang Zippo-Wang commented Aug 21, 2025

What this PR does / why we need it:

Which issue this PR fixes:
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)
fixes #xxx

Special notes for your reviewer:

Release note:


PR Checklist

1.apply

1

2.plan

2

3.destroy

3

4.UT

4

@@ -745,7 +745,7 @@ func Provider() *schema.Provider {
"huaweicloud_cts_trackers": cts.DataSourceCtsTrackers(),
"huaweicloud_cts_operations": cts.DataSourceCtsOperations(),
"huaweicloud_cts_quotas": cts.DataSourceCtsQuotas(),
"huaweicloud_cts_resources": cts.DataSourceCtsResources(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

watch out, the right thing has been removed!

httpUrl := "v3/{project_id}/{resource_type}/{resource_id}/tags"
path := client.Endpoint + httpUrl
path = strings.ReplaceAll(path, "{project_id}", client.ProjectID)
path = strings.ReplaceAll(path, "{resource_type}", "cts-tracker")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

supports a filter parameter resource_type

@Zippo-Wang Zippo-Wang force-pushed the feat_cts_resource_tag branch 5 times, most recently from 638cfa8 to b6ddac9 Compare August 26, 2025 01:51
@Zippo-Wang Zippo-Wang force-pushed the feat_cts_resource_tag branch from b6ddac9 to dfe5e32 Compare August 26, 2025 02:04
@Lance52259
Copy link
Contributor

/approve
/lgtm

@github-ci-robot github-ci-robot added LGTM /lgtm approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 26, 2025
Copy link
Collaborator

@github-ci-robot github-ci-robot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR has been approved by: @Lance52259

/approve
/lgtm

@github-ci-robot github-ci-robot merged commit c925583 into huaweicloud:master Aug 26, 2025
12 checks passed
@Zippo-Wang Zippo-Wang deleted the feat_cts_resource_tag branch August 26, 2025 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. feature LGTM /lgtm size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants